<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>杨超越的笔记</title>
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <meta name="description" content="Description">
  <meta name="viewport"
    content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <!-- Theme: Simple Dark -->
  <!-- <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/themes/dark.css"> -->
  <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/themes/vue.css">
  <!-- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsify-themeable@0/dist/css/theme-simple-dark.css"> -->
  <style>
    /* 改变内容宽度 */
    .markdown-section {
      max-width: 95%;
    }

    img {
      width: 75%;
    }

    .sidebar::-webkit-scrollbar {
      /*滚动条整体样式*/
      width: 13px;
      /*高宽分别对应横竖滚动条的尺寸*/
      /* height: 30px; */
    }
  </style>

<body>
  <div id="app">加载中</div>

  <script>
    window.$docsify = {
      loadNavbar: true,
      name: '首页',
      repo: '',
      maxLevel:3, // 最大目录层级
      coverpage: true,
      loadSidebar: false,
      auto2top: true,
      plugins: [
        function (hook, vm) {
          hook.beforeEach(function (content) {
            // 每次开始解析 Markdown 内容时调用
            // ...
            if (location.href.indexOf("xiaolixiao.gitee.io") >= 0) {
              // content = content.split("../../img/").join("https://gitee.com/xiaolixiao/document-notes/raw/master/docs/img/");
              // ../../img/
              content = content.split("../../img/").join("img/");
            }
            // console.log(location.href);
            // console.log(content);
            // console.log(content.split("../../img/").join("https://gitee.com/xiaolixiao/document-notes/raw/master/docs/img/"));
            return content;
          });
          hook.afterEach(function (html, next) {
            let flag = window.location.href.substring(window.location.href.length - 4, window.location.href.length);
            if (flag == "html") {
              $(".sidebar").hide();
              $(".sidebar-toggle").hide();
              document.body.classList.add("close");
            } else {
              $(".sidebar").show();
              $(".sidebar-toggle").show();
              document.body.classList.remove("close");
            }
            next(html);
          });
        }
      ]
    }
  </script>
  <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.min.js"></script>
  <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.js"></script>
  <script src="https://cdn.bootcdn.net/ajax/libs/axios/0.21.0/axios.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/prismjs@1.22.0/components/prism-java.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/prismjs@1.22.0/components/prism-sql.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/prismjs@1.22.0/components/prism-python.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/docsify-copy-code"></script>
</body>

</html>